<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>省站子站管理</title>
  <link rel="icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon">
  <link rel="stylesheet" href="assets/css/normalize.css" />
  <link rel="stylesheet" href="assets/css/index.css" />
  <link rel="stylesheet" href="assets/css/jedate.css" />
  <link rel="stylesheet" href="assets/css/bootstrap.min.css" />
  <link rel="stylesheet" href="assets/css/jquery.lavalamp.css" />
  <link rel="stylesheet" href="assets/css/combo.select.css"/>
  <script src="assets/jq/jquery-2.1.0.min.js"></script>
  <script src="assets/jq/bootstrap.min.js"></script>
</head>
<body>

<div class="container-fluid" id="content">
     <!--头部 begin-->
        <div class="row">
            <div class="col-md-12 header-content">
              <div class="row">
                  <div class="col-md-12">
                    <div >
                          <ul class="header">
                            <li class="active"><a href="test1.html">报表管理</a></li>
                            <li><a href="test2.html">质控评估管理</a></li>
                            <li><a href="test3.html">子站基础信息</a></li>
                          </ul>
                    </div>
                    <div>
                    </div>
                  </div>
                  <div class="row quality-control-menu">
                    <div class="col-md-12">
                      <h3>子站管理
                          <i></i>
                          <span>&gt;质控评估管理</span> 
                      </h3>
                      <ul id="qualitySecondMenu">
                        <li ><a href="test4.html">运行数据质量统计</a></li>
                        <li class="checkActive"><a >运行质量评估</a></li>
                      </ul>
                    </div>
                  </div>
              </div>
          </div>
      </div>
     <!--头部 end-->

     <!--内容 begin-->
     <div class="row">
          <div class="col-md-12 table-content">
              <div class="row main-content">
                <div class="col-md-12 content-title">
                        <span>全屏</span>
                        <h3>参数配置</h3>
                </div>
              </div>
              <div class="row main-content">
                    <div class="col-md-12">
                      <div class="row content-body" style="display: flex;justify-content: space-between;">
                      	

						<div class="content-left">
							
                          	<div class="contentfortables">
                              <!-- Nav tabs -->
                              <ul class="nav nav-tabs" role="tablist" id="myTabs">
                                <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">环境空气自动检测数据传输率情况评价表</a></li>
                                <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">环境空气自动检测有效天数得分情况评价表</a></li>
                                <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">运行单位日常工作评价表</a></li>
                                <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">质控检查扣分表</a></li>
                                <li role="presentation"><a href="#yunxingkaohe" aria-controls="yunxingkaohe" role="tab" data-toggle="tab">环境空气自动检测运行考核结果</a></li>
                                <li role="presentation"><a href="#yunxingzhiliang" aria-controls="yunxingzhiliang" role="tab" data-toggle="tab">运行单位运行质量评估表</a></li>
                                <li role="presentation"><a href="#yunxingzhiliangtixi" aria-controls="yunxingzhiliangtixi" role="tab" data-toggle="tab">运行单位质量系数</a></li>
                              </ul>

                              <!-- Tab panes -->
                              <!--1传输率-->
                              <div class="tab-content">
                                <div role="tabpanel" class="tab-pane active" id="home">
                                        <div class="table-responsive">
                                            <table class="table" id="chuanshulv">
                                            	
                                            </table>
                                        </div>

                                </div>
                                <!--1有效天数-->
                                <div role="tabpanel" class="tab-pane" id="profile">
                                        <div class="table-responsive">
                                            <table class="table" id="defenpingjiabiao">

                                            </table>
                                        </div>

                                </div>
                                
                                <!--运行单位日常工作评价表-->
                                <div role="tabpanel" class="tab-pane" id="messages">
                                        <div class="table-responsive">
                                            <table class="table" id="richanggongzuopingjiabiao">

                                            </table>
                                        </div>

                                </div>
                                <!--  质检扣分增加框-->
                                <div role="tabpanel" class="tab-pane" id="settings">
                                      <div class="table-responsive">
                                            <table class="table" id="jianchakoufenbiao">

                                            </table>
                                            
                                        </div>

                                      <!-- Modal -->
                                      <div class="modal fade" id="myModal" style="z-index:9999" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                                        <div class="modal-dialog" role="document">
                                            <form id="scoreTabledatas">
                                                  <div class="modal-content">
                                                    <div class="modal-header">
                                                      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                                      <h4 class="modal-title" id="myModalLabel">扣分新增表</h4>
                                                    </div>
                                                    <div class="modal-body">
                                                            <div id="checkestation">
                                                                <span>检查站点</span>：
                                                                <select id="decreasestationCode"></select>
                                                                <span id="stationInfo"></span>
                                                                <input type="hidden" id="updateCode" value="0"/>
                                                            </div>
                                                            <!--<table id="scoreDetails">

                                                            </table>-->
                                                            <table id="scoreDetails">
                                                                <tr>
                                                                    <td>检查项目</td>
                                                                    <td>检查要点</td>
                                                                    <td>单项分值</td>
                                                                    <td>扣分</td>
                                                                    <td>扣分说明</td>
                                                                </tr>
                                                                <tr>
                                                                    <td rowspan="4">01站房环境保障情况(5分)</td>
                                                                </tr>
                                                                <tr>
                                                                    <td>站房环境是否清洁，是否符合监测要求</td>
                                                                    <td>1</td>
                                                                    <td><input type="text" id="score1" onblur="getdatascore('score1','1',this)"/></td>
                                                                    <td><input type="text" id="mark1" onblur="getdatascore('mark1','1',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>站房温度是否控制在25±5℃，相对湿度控制在80%以下）</td>
                                                                    <td>2</td>
                                                                    <td><input type="text" id="score2" onblur="getdatascore('score2','2',this)"/></td>
                                                                    <td><input type="text" id="mark2" onblur="getdatascore('mark2','2',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>防水、供电是否满足《规范》（注1）要求，是否具备外接电源，其他基础设施是否满足监测要求。</td>
                                                                    <td>2</td>
                                                                    <td><input type="text" id="score3" onblur="getdatascore('score3','2',this)"/></td>
                                                                    <td><input type="text" id="mark3" onblur="getdatascore('mark3','2',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td rowspan="7">02采样系统维护效果（10分）</td>
                                                                </tr>
                                                                <tr>
                                                                    <td>采样口距离地面、房顶高度、周围空间是否符合规范要求。</td>
                                                                    <td>1</td>
                                                                    <td><input type="text" id="score4" onblur="getdatascore('score4','1',this)"/></td>
                                                                    <td><input type="text" id="mark4" onblur="getdatascore('mark4','1',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>采样总管和采样支管材质是否满足《规范》要求）。</td>
                                                                    <td>1</td>
                                                                    <td><input type="text" id="score5" onblur="getdatascore('score5','1',this)"/></td>
                                                                    <td><input type="text" id="mark5" onblur="getdatascore('mark5','1',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>采样系统清洁程度：采样头、采样管道是否清洁，有无积灰、积水或障碍物，采样风机是否正常工作.</td>
                                                                    <td>3</td>
                                                                    <td><input type="text" id="score6" onblur="getdatascore('score6','3',this)"/></td>
                                                                    <td><input type="text" id="mark6" onblur="getdatascore('mark6','3',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>气态污染物采样支管是否插入采样总管的中心，监测仪器与支管接头连接的管线长度是否小于3m。</td>
                                                                    <td>1</td>
                                                                    <td><input type="text" id="score7" onblur="getdatascore('score7','1',this)"/></td>
                                                                    <td><input type="text" id="mark7" onblur="getdatascore('mark7','1',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>采样管路联接是否规范，颗粒物采样管是否垂直，是否避免被空调直吹。</td>
                                                                    <td>2</td>
                                                                    <td><input type="text" id="score8" onblur="getdatascore('score8','2',this)"/></td>
                                                                    <td><input type="text" id="mark8" onblur="getdatascore('mark8','2',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>采样总管是否有加热装置，加热功能是否正常。</td>
                                                                    <td>2</td>
                                                                    <td><input type="text" id="score9" onblur="getdatascore('score9','2',this)"/></td>
                                                                    <td><input type="text" id="mark9" onblur="getdatascore('mark9','2',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td rowspan="7">03仪器日常维护效果（10分）</td>
                                                                </tr>
                                                                <tr>
                                                                    <td>仪器工作状态是否正常，是否存在报警信息。</td>
                                                                    <td>1</td>
                                                                    <td><input type="text" id="score10" onblur="getdatascore('score10','1',this)"/></td>
                                                                    <td><input type="text" id="mark10" onblur="getdatascore('mark10','1',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>仪器过滤膜是否及时更换，散热风扇是否及时清洗。</td>
                                                                    <td>2</td>
                                                                    <td><input type="text" id="score11" onblur="getdatascore('score11','2',this)"/></td>
                                                                    <td><input type="text" id="mark11" onblur="getdatascore('mark11','2',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>零气发生器相关耗材是否及时更换。</td>
                                                                    <td>2</td>
                                                                    <td><input type="text" id="score12" onblur="getdatascore('score12','2',this)"/></td>
                                                                    <td><input type="text" id="mark12" onblur="getdatascore('mark12','2',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>颗粒物采样管加热装置是否工作正常。</td>
                                                                    <td>2</td>
                                                                    <td><input type="text" id="score13" onblur="getdatascore('score13','2',this)"/></td>
                                                                    <td><input type="text" id="mark13" onblur="getdatascore('mark13','2',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>采样泵相关耗材是否及时更换（以自动监测规范为主，若为参考仪器说明书）。</td>
                                                                    <td>1</td>
                                                                    <td><input type="text" id="score14" onblur="getdatascore('score14','1',this)"/></td>
                                                                    <td><input type="text" id="mark14" onblur="getdatascore('mark14','1',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>采样纸带或滤膜是否及时更换（按相关规范）。</td>
                                                                    <td>2</td>
                                                                    <td><input type="text" id="score15" onblur="getdatascore('score15','2',this)"/></td>
                                                                    <td><input type="text" id="mark15" onblur="getdatascore('mark15','2',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td rowspan="9">04质量控制效果（40分)</td>
                                                                </tr>
                                                                <tr>
                                                                    <td>动态校准仪质量流量控制器（MFC）单点流量测试（要求相对误差≤±2%）：零气MFC流量：<input type="text" id="detail1" onblur="getDetailData('detail1','1',this,true,'1')"/> L/min，标准流量计测值：<input type="text" id="detail2" onblur="getDetailData('detail2','2',this,true,'2')"/> L/min，相对误差：<span  id="detail3"  onblur="getDetailData('detail3','3',this,false,'0')"></span> %标气MFC流量：<input type="text" id="detail4" onblur="getDetailData('detail4','4',this,true,'1')"/> ml/min，标准流量计测值：<input type="text" id="detail5" onblur="getDetailData('detail5','5',this,true,'2')"/> ml/min，相对误差：<span id="detail6" onblur="getDetailData('detail6','6',this,false,'0')" ></span> %</td>
                                                                    <td>5</td>
                                                                    <td><input type="text" id="score16" onblur="getdatascore('score16','5',this)"/></td>
                                                                    <td><input type="text" id="mark16" onblur="getdatascore('mark16','5',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>气态污染物采样流量测试（要求相对误差≤±10%）：SO2显示流量：<input type="text" id="detail7" onblur="getDetailData('detail7','7',this,true,'1')"/> L/min，标准流量计测值：<input type="text" id="detail8" onblur="getDetailData('detail8','8',this,true,'2')"/> L/min，相对误差：<span id="detail9" onblur="getDetailData('detail9','9',this,false,'0')"></span> %SO2标气稀释输出浓度：<input type="text" id="detail10" onblur="getDetailData('detail10','10',this,true,'1')"/> ppb，仪器响应浓度：<input type="text" id="detail11" onblur="getDetailData('detail11','11',this,true,'2')"/> ppb，浓度误差（要求误差≤±5%）：<span  id="detail12" onblur="getDetailData('detail12','12',this,false,'0')"></span> %；t90响应时间（要求≤5min）：<input type="text" id="detail13" onblur="getDetailData('detail3','13',this,false,'0')" /> min</td>
                                                                    <td>5</td>
                                                                    <td><input type="text" id="score17" onblur="getdatascore('score17','5',this)"/></td>
                                                                    <td><input type="text" id="mark17" onblur="getdatascore('mark17','5',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        NOX显示流量：<input type="text" onblur="getDetailData('detail14','14',this,true,'1')" id="detail14"/> L/min，标准流量计测值：<input type="text" id="detail15" onblur="getDetailData('detail15','15',this,true,'2')"/> L/min，相对误差：<span  id="detail16" onblur="getDetailData('detail16','16',this,false,'0')" ></span> % NO标气稀释输出浓度：<input type="text"  id="detail17" onblur="getDetailData('detail17','17',this,true,'1')"/> ppb，仪器响应浓度：<input type="text" id="detail18" onblur="getDetailData('detail18','18',this,true,'2')"/>ppb，浓度误差（要求误差≤±5%）：<span  id="detail19" onblur="getDetailData('detail19','19',this,false,'0')" ></span> %；t90响应时间（要求≤5min）：<input type="text" onblur="getDetailData('detail20','20',this,false,'0')" id="detail20"/> min
                                                                    </td>
                                                                    <td>5</td>
                                                                    <td><input type="text" id="score18" onblur="getdatascore('score18','5',this)"/></td>
                                                                    <td><input type="text" id="mark18" onblur="getdatascore('mark18','5',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        CO显示流量：<input type="text" id="detail21" onblur="getDetailData('detail21','21',this,true,'1')"/> L/min，标准流量计测值：<input type="text" id="detail22" onblur="getDetailData('detail22','22',this,true,'2')"/> L/min，相对误差： <span  id="detail23"  onblur="getDetailData('detail23','23',this,false,'0')"></span>% CO标气稀释输出浓度：<input type="text" id="detail24" onblur="getDetailData('detail24','24',this,true,'1')"/> ppb，仪器响应浓度：<input type="text" id="detail25" onblur="getDetailData('detail25','25',this,true,'2')"/> ppb，浓度误差（要求误差≤±5%）：<span  id="detail26"  onblur="getDetailData('detail26','26',this,false,'0')"></span> %；t90响应时间（要求≤5min）：<input type="text" onblur="getDetailData('detail27','27',this,false,'0')" id="detail27"/> min
                                                                    </td>
                                                                    <td>5</td>
                                                                    <td><input type="text" id="score19" onblur="getdatascore('score19','5',this)"/></td>
                                                                    <td><input type="text" id="mark19" onblur="getdatascore('mark19','5',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        O3显示流量：<input type="text" onblur="getDetailData('detail28','28',this,true,'1')" id="detail28"/> L/min，标准流量计测值：<input type="text" onblur="getDetailData('detail29','29',this,true,'2')" id="detail29"/> L/min，相对误差：<span  onblur="getDetailData('detail30','30',this,false,'0')" id="detail30"></span> %O3标气稀释输出浓度：<input type="text" onblur="getDetailData('detail31','31',this,true,'1')" id="detail31"/> ppb，仪器响应浓度： <input type="text" onblur="getDetailData('detail32','32',this,true,'2')" id="detail32"/>ppb，浓度误差（要求误差≤±5%）：<span  onblur="getDetailData('detail33','33',this,false,'0')" id="detail33"></span> %；t90响应时间（要求≤5min）：<input type="text" onblur="getDetailData('detail34','34',this,false,'0')" id="detail34"/> min
                                                                    </td>
                                                                    <td>5</td>
                                                                    <td><input type="text" id="score20" onblur="getdatascore('score20','5',this)"/></td>
                                                                    <td><input type="text" id="mark20" onblur="getdatascore('mark20','5',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        PM10显示流量：<input type="text" id="detail35" onblur="getDetailData('detail35','35',this,true,'1')"/> L/min，标准流量计测值：<input type="text" id="detail36"  onblur="getDetailData('detail36','36',this,true,'2')"/>L/min，相对误差：<span  id="detail37" onblur="getDetailData('detail37','37',this,false,'0')" ></span> %PM10K（标准回归斜率）：<input type="text" id="detail38" onblur="getDetailData('detail38','38',this,false,'0')"/> 或K0值（TEOM法）：<input type="text" id="detail39" onblur="getDetailData('detail39','39',this,false,'0')"/> ，是否与仪器说明书一致：PM10校准膜检查或K0值检查结果是否合格 PM10手工比对结果是否合格
                                                                    </td>
                                                                    <td>5</td>
                                                                    <td><input type="text" id="score21" onblur="getdatascore('score22','5',this)"/></td>
                                                                    <td><input type="text" id="mark21" onblur="getdatascore('mark21','5',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        PM2.5显示流量：<input type="text" id="detail40" onblur="getDetailData('detail40','40',this,true,'1')"/> L/min，标准流量计测值：<input type="text" id="detail41" onblur="getDetailData('detail41','41',this,true,'2')"/> L/min，相对误差：<span  id="detail42" onblur="getDetailData('detail42','42',this,false,'0')" ></span> %PM2.5K（标准回归斜率）：<input type="text" id="detail43" onblur="getDetailData('detai43','43',this,false,'0')"/> 或K0值（TEOM法）：<input type="text" id="detail44" onblur="getDetailData('detai44','44',this,false,'0')"/> ，是否与仪器说明书一致：PM2.5校准膜检查或K0值检查结果是否合格PM2.5手工比对结果是否合格
                                                                    </td>
                                                                    <td>5</td>
                                                                    <td><input type="text" id="score22" onblur="getdatascore('score22','5',this)"/></td>
                                                                    <td><input type="text" id="mark22" onblur="getdatascore('mark22','5',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>用于校准的设备（流量计、温度计、大气压计）是否每年通过国家计量检定，标准气体是否在有效期内使用。</td>
                                                                    <td>5</td>
                                                                    <td><input type="text" id="score23" onblur="getdatascore('score23','5',this)"/></td>
                                                                    <td><input type="text" id="mark23" onblur="getdatascore('mark23','5',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>05通讯系统维护效果（3分）</td>
                                                                    <td>能否正常采集数据并上报城市站、省站、总站并发布数据。</td>
                                                                    <td>3</td>
                                                                    <td><input type="text" id="score24" onblur="getdatascore('score24','3',this)"/></td>
                                                                    <td><input type="text" id="mark24" onblur="getdatascore('mark24','3',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>06运行人员要求（2分）</td>
                                                                    <td>运行人员是否持证上岗。</td>
                                                                    <td>2</td>
                                                                    <td><input type="text" id="score25" onblur="getdatascore('score25','2',this)"/></td>
                                                                    <td><input type="text" id="mark25" onblur="getdatascore('mark25','2',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>07档案记录（5分）</td>
                                                                    <td>是否按照规范要求填写运行记录，记录是否规范和齐全。</td>
                                                                    <td>5</td>
                                                                    <td><input type="text" id="score26" onblur="getdatascore('score26','5',this)"/></td>
                                                                    <td><input type="text" id="mark26" onblur="getdatascore('mark26','5',this)"/></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>08飞行检查情况(10分)</td>
                                                                    <td>
                                                                        飞行检查采用现场比对方式，检查各项目监测结果是否满足比对要求。
                                                                    </td>
                                                                    <td>10</td>
                                                                    <td><input type="text" id="score27" onblur="getdatascore('score27','10',this)"/></td>
                                                                    <td><input type="text" id="mark27" onblur="getdatascore('mark27','10',this)"/></td>
                                                                </tr>
                                                                <tr id="totalscoretr">
                                                                    <td>总扣分</td>
                                                                    <td colspan="4" id="totalscore"></td>
                                                                </tr>
                                                            </table>


                                                            <div class="coretablefooter" id="checkperson" >
                                                                <span>检查时间:<input class="datainp" id="dateinfo" type="text" placeholder="请选择"  readonly/></span>
                                                                <span>检查人:<select id="rummager"></select></span>
                                                            </div>

                                                    </div>
                                                    <div class="modal-footer">
                                                      <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                                                      <button type="button" class="btn btn-primary" onclick="adddecreaseGrade()">提交</button>
                                                    </div>
                                                  </div>
                                            </form>
                                        </div>
                                      </div>



                                </div>


																<!--自动检测考核结果-->
                                  <div role="tabpanel" class="tab-pane" id="yunxingkaohe">

                                      <div class="table-responsive">
                                          <table class="table" id="jiancekaohejieguo">

                                          </table>
                                      </div>


                                  </div>
																<!--运行单位质量评估表-->
                                <div role="tabpanel" class="tab-pane" id="yunxingzhiliang">
                                      <div class="table-responsive">
                                            <table class="table" id="zhiliangpinggubiao">

                                            </table>
                                        </div>
                                        


                                </div>
                                <!--运行质量体系-->
                                <div role="tabpanel" class="tab-pane" id="yunxingzhiliangtixi">
                                      <div class="table-responsive">
                                            <table class="table" id="yunxingzhiliangtixitable">

                                            </table>
                                        </div>
                                        


                                </div>
                                
                                
                              </div>

                          </div>
                          
                          
                          
						
						</div>
						
						<div class="content-right">

	                          <div class="conditions" id="talkType">
	                          		<span>评估类型:
	                          				<input type="radio" name="choose" value="1" class="input-radio">运行单位
	                          				<input type="radio" name="choose" value="2" class="input-radio">城市
	                                  <input type="radio" name="choose" value="3" class="input-radio">站点
	                              </span>
	                          </div>
	                          
	                          <div class="conditions">
	                          	<span>时间选择:
		                                  <select id="startyear">
		                                  	<option>请选择</option>
		                                  </select>年
		                                  <select id="startmonth">
		                                  	<option>请选择</option>
		                                  </select>月
		                                  <span>至</span>
		                                  <select id="endyear">
		                                       <option>请选择</option>
		                                  </select>年
		                                  <select id="endmonth">
		                                       <option>请选择</option>
		                                  </select>月
	                              </span>
	                          </div>
	                          
	                          <div class="conditions">
	                              <span >运行单位:
	                                  <div id="unit">
	                                  	
	                                  </div>
	                              </span>
	                          </div>
	                          
	                          <div class="conditions">
	                              <span > 站点类型:
	                                 <div id="category">
	                                  	
	                                  </div>
	                              </span>

	                          </div>
	                  
	                          <div class="textrightalign">
	                                <input type="button" value="结果查询" onclick="searchs()"/>
	                          </div>
	                          
	                        	<!--城市列表-->
	                        	
	                        	<div class="">
	                        			<ul id="citylist" style="font-size: 20px;">
	                        				
	                        			</ul>
	                        	</div>
	                        	
	                          
                          
						</div>
						
                      </div>
                    </div> 


              </div>
          </div>
          
          
          
          <!--==========================================================模态框====================================-->
          <!--传输率的模态框-->
        <div class="modal fade" id="myModals" style="z-index:9999" tabindex="99" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
					<div class="modal-dialog" style="width: 1200px;">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
									&times;
								</button>
								<h4 class="modal-title" id="myModalLabel" style="text-aligin:center">
									四川省环境空气自动检测数据传输率情况评价表
								</h4>
							</div>
							<div class="modal-body">
								<table class="table" id="chuanshuContent">
                      
                   
               </table>								
							</div>
						</div><!-- /.modal-content -->
					</div><!-- /.modal -->
				</div>
				
				
				
				<!--有效天数模态框-->
				<div class="modal fade" id="myModalscore" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
					<div class="modal-dialog" style="width: 1200px;">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
									&times;
								</button>
								<h4 class="modal-title" id="myModalLabel" style="text-aligin:center">
									四川省环境环境空气自动检测有效天数得分情况评价表
								</h4>
							</div>
							<div class="modal-body">
								<table class="table" id="scorecontent">
                      
                   
               </table>								
							</div>
						</div><!-- /.modal-content -->
					</div><!-- /.modal -->
				</div>
				
				<!--考核结果模态框-->
				<div class="modal fade" id="myModalcalscorce" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
					<div class="modal-dialog" style="width: 1200px;">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
									&times;
								</button>
								<h4 class="modal-title" id="myModalLabel" style="text-aligin:center">
									四川省环境空气自动检测考核结果
								</h4>
							</div>
							<div class="modal-body">
								<table class="table" id="testcalscorces">
                      
                   
               </table>								
							</div>
						</div><!-- /.modal-content -->
					</div><!-- /.modal -->
				</div>
				
				<!--运行单位运行质量系数评估表-->
				<div class="modal fade" id="myModalrun" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
					<div class="modal-dialog" style="width: 1200px;">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
									&times;
								</button>
								<h4 class="modal-title" id="myModalLabel" style="text-aligin:center">
									运行单位运行质量评估表
								</h4>
							</div>
							<div class="modal-body">
								<table class="table" id="runqualis">
                      
                   
               </table>								
							</div>
						</div><!-- /.modal-content -->
					</div><!-- /.modal -->
				</div>
				
			<!--运行单位质量体系模态框-->	
			<div class="modal fade" id="myModalunit" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
					<div class="modal-dialog" style="width: 1200px;">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
									&times;
								</button>
								<h4 class="modal-title" id="myModalLabel" style="text-aligin:center">
									运行单位运行质量评估表
								</h4>
							</div>
							<div class="modal-body">
								<table class="table" id="myModalunits">
                      
                   
               </table>								
							</div>
						</div><!-- /.modal-content -->
					</div><!-- /.modal -->
				</div>
				
			<!--日常评估内容模态框-->
			<div class="modal fade" id="myModaldaliy" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
					<div class="modal-dialog" style="width: 1200px;">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
									&times;
								</button>
								<h4 class="modal-title" id="myModalLabel" style="text-aligin:center">
									运行单位运行质量评估表
								</h4>
							</div>
							<div class="modal-body">
								<table class="table" id="daliytable">
                      
                   
               </table>								
							</div>
						</div><!-- /.modal-content -->
					</div><!-- /.modal -->
				</div>
			<!--扣分详情模态框-->
            <div class="modal fade" id="myLosepointModal" tabindex="-1" role="dialog" aria-labelledby="myLosepointModal" aria-hidden="true">
                <div class="modal-dialog" style="width: 1200px;">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                                &times;
                            </button>
                            <h4 class="modal-title" id="myModalLabel" style="text-aligin:center">
                                运行单位运行质量评估表
                            </h4>
                        </div>
                        <div class="modal-body">
                            <table class="table" id="losepointDetail">
                    
                            </table>								
                        </div>
                    </div><!-- /.modal-content -->
                </div><!-- /.modal -->
            </div>
				
     </div>
     <!--内容 end-->

<!--      ========================================= 表格模板begin ========================================== -->


<!--1传输率-->
<script id="chuanshutable" type="text/html">
        <tr>
            <th colspan="11" style="text-align: center">
               	四川省环境空气自动检测数据传输率情况评价表
            </th>
        </tr>
        <tr>
            <td>运行单位/城市</td>
            <td>时间</td>
            <td>SO2</td>
            <td>NO2</td>
            <td>O3</td>
            <td>CO</td>
            <td>PM10</td>
            <td>PM2.5</td>
            <td>运行单位平均传输率</td>
            <td>运行单位平均得分（总分35分）</td>
            <td>操作</td>
        </tr>
   {{each list as value i}}
   <tr>
        <td>{{value.runName==undefined?value.Area:value.runName}}</td>
        <td>{{value.monthTime.substring(0,7)}}</td>
        <td>{{value.Cavgso2==undefined?'-':((value.Cavgso2)*100).toFixed(2)+'%'}}</td>
        <td>{{value.Cavgno2==undefined?'-':((value.Cavgno2)*100).toFixed(2)+'%'}}</td>
        <td>{{value.Cavgo3==undefined?'-':((value.Cavgo3)*100).toFixed(2)+'%'}}</td>
        <td>{{value.Cavgco==undefined?'-':((value.Cavgco)*100).toFixed(2)+'%'}}</td>
        <td>{{value.Cavgpm10==undefined?'-':((value.Cavgpm10)*100).toFixed(2)+'%'}}</td>
        <td>{{value.Cavgpm2_5==undefined?'-':((value.Cavgpm2_5)*100).toFixed(2)+'%'}}</td>
        <td>{{value.CavgTransfer==undefined?'-':((value.CavgTransfer)*100).toFixed(2)+'%'}}</td>
        <td>{{value.Cavgscores==undefined?'-':(value.Cavgscores.toFixed(2))}}</td>
        <td>
        	<a class="btn btn-primary btn-lg layBtn" onclick='layShow({{i}})' data-toggle="modal" data-target="#myModals">详情</a>
        </td>
    </tr>
    {{/each}}
</script>

<!--1传输率的模态框-->
<script id="chuanshutables" type="text/html">
		<tr>
    	<th colspan="16" style="text-align: center">
       		四川省环境空气自动检测数据传输率情况评价表
    	</th>
    </tr>
		<tr>
						<td>序号</td>
            <td>站点编号</td>
            <td>站点名称</td>
            <td>城市</td>
            <td>运行单位</td>
            <td>时间</td>
            <td>SO2</td>
            <td>NO2</td>
            <td>O3</td>
            <td>CO</td>
            <td>PM10</td>
            <td>PM2.5</td>
            <td>平均输出率</td>
            <td>是否合格</td>
            <td colspan="2">分</td>
    </tr>   
		{{each list as value i}}
			<tr>
				<td>{{i+1}}</td>
        <td>{{value.stationCode}}</td>
        <td>{{value.stationName}}</td>
        <td>{{value.Area}}</td>
        <td>{{value.runName}}</td>
        <td>{{value.monthTime.substring(0,7)}}</td>
        <td>{{value.so2==undefined?'-':((value.so2)*100).toFixed(2)+'%'}}</td>
        <td>{{value.no2==undefined?'-':((value.no2)*100).toFixed(2)+'%'}}</td>
        <td>{{value.o3==undefined?'-':((value.o3)*100).toFixed(2)+'%'}}</td>
        <td>{{value.co==undefined?'-':((value.co)*100).toFixed(2)+'%'}}</td>
        <td>{{value.pm10==undefined?'-':((value.pm10)*100).toFixed(2)+'%'}}</td>
        <td>{{value.pm2_5==undefined?'-':((value.pm2_5)*100).toFixed(2)+'%'}}</td>
        <td>{{value.pm10==avgTransfer?'-':((value.avgTransfer)*100).toFixed(2)+'%'}}</td>
        <td>{{value.status=="1"?'是':'否'}}</td>
        <td>{{value.scores.toFixed(2)}}</td>
      </tr>
		{{/each}}
</script>


<!--1有效天数得分-->
<script id="validtable" type="text/html">
    <tr>
        <th colspan="9" style="text-align: center">
            	四川省环境环境空气自动检测有效天数得分情况评价表
        </th>
    </tr>
    <tr>
        <td>运行单位/城市</td>
        <td>时间</td>
        <td>理论天数</td>
        <td>停电</td>
        <td>不可抗因素</td>
        <td>应检测天数</td>
        <td>有效检测天数</td>
        <td>得分</td>
        <td>操作</td>
    </tr>
   {{each list as value i}}
   <tr>
        <td>{{value.runName==undefined?value.Area:value.runName}}</td>
        <td>{{value.monthTime==undefined?'-':value.monthTime.substring(0,7)}}</td>
        <td>{{value.CtheoryDays==undefined?'-':value.CtheoryDays}}</td>
        <td>{{value.CpowerCutDays==undefined?'-':value.CpowerCutDays}}</td>
        <td>{{value.Cothers==undefined?'-':value.Cothers}}</td>
        <td>{{value.CshouldDays==undefined?'-':value.CshouldDays}}</td>
        <td>{{value.CvalidatyDays==undefined?'-':value.CvalidatyDays}}</td>
        <td>{{value.Cavgscores==undefined?'-':value.Cavgscores.toFixed(2)}}</td>
        <td>
        	<a class="btn btn-primary btn-lg layBtn" onclick='layShows({{i}})' data-toggle="modal" data-target="#myModalscore">详情</a>
        </td>
    </tr>
    {{/each}}

</script>

<!--1有效天数模态框-->
<script id="workscore" type="text/html">
    <tr>
        <th colspan="12" style="text-align: center">
            	四川省环境环境空气自动检测有效天数得分情况评价表
        </th>
    </tr>
    <tr>
        <td>序号</td>
        <td>站点编号</td>
        <td>站点名称</td>
        <td>城市</td>
        <td>运行单位</td>
        <td>时间</td>
        <td>理论天数</td>
        <td>停电</td>
        <td>不可抗因素</td>
        <td>应检测天数</td>
        <td>有效检测天数</td>
        <td>得分</td>
    </tr>
   {{each list as value i}}
   <tr>
        <td>{{i+1}}</td>
        <td>{{value.stationCode==undefined?'-':value.stationCode}}</td>
        <td>{{value.runName==undefined?'-':value.stationName}}</td>
        <td>{{value.Area==undefined?'-':value.Area}}</td>
        <td>{{value.runName==undefined?'-':value.runName}}</td>
        <td>{{value.monthTime==undefined?'-':value.monthTime.substring(0,7)}}</td>
        <td>{{value.theoryDays==undefined?'-':value.theoryDays}}</td>
        <td>{{value.powerCutDays==undefined?'-':value.powerCutDays}}</td>
        <td>{{value.others==undefined?'-':value.others}}</td>
        <td>{{value.shouldDays==undefined?'-':value.shouldDays}}</td>
        <td>{{value.validatyDays==undefined?'-':value.validatyDays}}</td>
        <td>{{value.scores==undefined?'-':value.scores.toFixed(2)}}</td>

    </tr>
    {{/each}}

</script>

<!--运行单位日常工作评价表-->
<script id="yunxingdaily" type="text/html">

  <tr>
        <th colspan="8" style="text-align: center">
            	运行单位每月日常工作城市评估表
        </th>
    </tr>
    <tr>
        <td>城市/运行单位</td>
        <td>时间</td>
        <td>合计平均得分（总分30分）</td>
        <td>评估内容</td>
        <td>完成平均周期</td>
        <td>绩效总扣分</td>
        <td>扣分原因</td>
        <td>操作</td>
    </tr>
    {{each list as value i}}
     <tr>
		    <td rowspan="4">{{value.runName==undefined?value.Area:value.runName}}</td>
		    <td rowspan="4">{{value.monthTime.substring(0,7)}}</td>
		    <td rowspan="4">{{(30-value.avgdeduct).toFixed(2)}}</td>
		    <td>周报</td>
		    <td>{{value.avgWCycle}}</td>
		    <td>{{value.totalWdeduct}}</td>
		    <td>
		    	{{each value.reason1 as v i}}
		    		<p>{{i+1}}、{{v.reason1}}</p>
		    	{{/each}}
		    </td>
    <td rowspan="4">
       <a class="btn btn-primary btn-lg layBtn" onclick='daliy({{i}})' data-toggle="modal" data-target="#myModaldaliy">详情</a>
    </td>
  </tr>
  
  <tr>
    <td >月报</td>
    <td >{{value.avgMCycle}}</td>
    <td>{{value.totalMdeduct}}</td>
     <td>
    	{{each value.reason2 as v i}}
    		<p>{{i+1}}、{{v.reason2}}</p>
    	{{/each}}
    </td>
  </tr>
  
  <tr>
    <td>半年报</td>
    <td>{{value.avgHYCycle}}</td>
    <td>{{value.totalHYdeduct}}</td>
     <td>
    	{{each value.reason3 as v i}}
    		<p>{{i+1}}、{{v.reason3}}</p>
    	{{/each}}
    </td>
  </tr>
  
  <tr>
    <td>年报</td>
    <td>{{value.avgYCycle}}</td>
    <td>{{value.totalYdeduct}}</td>
     <td>
    	{{each value.reason4 as v i}}
    		<p>{{i+1}}、{{v.reason4}}</p>
    	{{/each}}
    </td>
  </tr>

   {{/each}} 
    


</script>

<!--运行单位日常工作评价表模态框-->
<script id="dailytest" type="text/html">
    <tr>
        <th colspan="13" style="text-align: center">
            	运行单位每月日常工作城市评估表
        </th>
    </tr>
    <tr>
        <td>序号</td>
        <td>站点编号</td>
        <td>站点名称</td>
        <td>城市</td>
        <td>运行单位</td>
        <td>时间</td>
        <td>合计得分（总分30）</td>
        <td>评估内容</td>
        <td>上次填报时间</td>
        <td>本次填报时间</td>
        <td>填报周期</td>
        <td>绩效扣分</td>
        <td>扣分原因</td>
    </tr>
   {{each list as value i}}
   <tr>
        <td rowspan="7">{{i+1}}</td>
        <td rowspan="7">{{value.stationCode==undefined?'-':value.stationCode}}</td>
        <td rowspan="7">{{value.runName==undefined?'-':value.stationName}}</td>
        <td rowspan="7">{{value.Area==undefined?'-':value.Area}}</td>
        <td rowspan="7">{{value.runName==undefined?'-':value.runName}}</td>
        <td rowspan="7">{{value.checkTime==undefined?'-':value.checkTime.substring(0,7)}}</td>
        <td rowspan="7">{{(value.deduct).toFixed(2)}}</td>
        <td rowspan="4">周报</td>
        <td>{{value.stationComplateList[0]==undefined?'-':value.stationComplateList[0].lastTime}}</td>
        <td>{{value.stationComplateList[0]==undefined?'-':value.stationComplateList[0].thisTime}}</td>
        <td>{{value.stationComplateList[0]==undefined?'-':value.stationComplateList[0].inputCycle}}</td>
        <td>{{value.stationComplateList[0]==undefined?'-':(value.stationComplateList[0].performance<=0?'0':value.stationComplateList[0].performance)}}</td>
        <td>{{value.stationComplateList[0]==undefined?'-':(value.stationComplateList[0].reason==undefined?'-':value.stationComplateList[0].reason)}}</td>
    </tr>
    <tr>
        <td>{{value.stationComplateList[1]==undefined?'-':value.stationComplateList[1].lastTime}}</td>
        <td>{{value.stationComplateList[1]==undefined?'-':value.stationComplateList[1].thisTime}}</td>
        <td>{{value.stationComplateList[1]==undefined?'-':value.stationComplateList[1].inputCycle}}</td>
        <td>{{value.stationComplateList[1]==undefined?'-':(value.stationComplateList[1].performance<=0?'0':value.stationComplateList[1].performance)}}</td>
        <td>{{value.stationComplateList[1]==undefined?'-':(value.stationComplateList[1].reason==undefined?'-':value.stationComplateList[1].reason)}}</td>
    </tr>
    <tr>
        <td>{{value.stationComplateList[2]==undefined?'-':value.stationComplateList[2].lastTime}}</td>
        <td>{{value.stationComplateList[2]==undefined?'-':value.stationComplateList[2].thisTime}}</td>
        <td>{{value.stationComplateList[2]==undefined?'-':value.stationComplateList[2].inputCycle}}</td>
        <td>{{value.stationComplateList[2]==undefined?'-':(value.stationComplateList[2].performance<=0?'0':value.stationComplateList[2].performance)}}</td>
        <td>{{value.stationComplateList[2]==undefined?'-':(value.stationComplateList[2].reason==undefined?'-':value.stationComplateList[2].reason)}}</td>
    </tr>
    <tr>
        <td>{{value.stationComplateList[3]==undefined?'-':value.stationComplateList[3].lastTime}}</td>
        <td>{{value.stationComplateList[3]==undefined?'-':value.stationComplateList[3].thisTime}}</td>
        <td>{{value.stationComplateList[3]==undefined?'-':value.stationComplateList[3].inputCycle}}</td>
        <td>{{value.stationComplateList[3]==undefined?'-':(value.stationComplateList[3].performance<=0?'0':value.stationComplateList[3].performance)}}</td>
        <td>{{value.stationComplateList[3]==undefined?'-':(value.stationComplateList[3].reason==undefined?'-':value.stationComplateList[3].reason)}}</td>
    </tr>
    <tr>
        <td>月报</td>
        <td>{{value.stationComplateList[4]==undefined?'-':value.stationComplateList[4].lastTime}}</td>
        <td>{{value.stationComplateList[4]==undefined?'-':value.stationComplateList[4].thisTime}}</td>
        <td>{{value.stationComplateList[4]==undefined?'-':value.stationComplateList[4].inputCycle}}</td>
        <td>{{value.stationComplateList[4]==undefined?'-':(value.stationComplateList[4].performance<=0?'0':value.stationComplateList[4].performance)}}</td>
        <td>{{value.stationComplateList[4]==undefined?'-':(value.stationComplateList[4].reason==undefined?'-':value.stationComplateList[4].reason)}}</td>
    </tr>
    <tr>
        <td>半年报</td>
        <td>{{value.stationComplateList[5]==undefined?'-':value.stationComplateList[5].lastTime}}</td>
        <td>{{value.stationComplateList[5]==undefined?'-':value.stationComplateList[5].thisTime}}</td>
        <td>{{value.stationComplateList[5]==undefined?'-':value.stationComplateList[5].inputCycle}}</td>
        <td>{{value.stationComplateList[5]==undefined?'-':(value.stationComplateList[5].performance<=0?'0':value.stationComplateList[5].performance)}}</td>
        <td>{{value.stationComplateList[5]==undefined?'-':(value.stationComplateList[5].reason==undefined?'-':value.stationComplateList[5].reason)}}</td>
    </tr>
    <tr>
        <td>年报</td>
        <td>{{value.stationComplateList[6]==undefined?'-':value.stationComplateList[6].lastTime}}</td>
        <td>{{value.stationComplateList[6]==undefined?'-':value.stationComplateList[6].thisTime}}</td>
        <td>{{value.stationComplateList[6]==undefined?'-':value.stationComplateList[6].inputCycle}}</td>
        <td>{{value.stationComplateList[6]==undefined?'-':(value.stationComplateList[6].performance<=0?'0':value.stationComplateList[6].performance)}}</td>
        <td>{{value.stationComplateList[6]==undefined?'-':(value.stationComplateList[6].reason==undefined?'-':value.stationComplateList[6].reason)}}</td>
    </tr>
  
    {{/each}}

</script>


<!--质控检查扣分表-->

<script id="losepoint" type="text/html">
    
        <tr>
            <td>运行单位</td>
            <td>时间</td>
            <td>扣分</td>
            <td>扣分原因</td>
            <td>备注</td>
        </tr>
        {{each list as value i}}
        <tr>
            <td>{{value.runName==undefined?value.Area:value.runName}}</td>
            <td>{{value.checkTime==undefined?'-':value.checkTime.substring(0,7)}}</td>
            <td>{{value.totaldeduct==undefined?'-':value.totaldeduct}}</td>
            <td>
                {{each value.reason as v j}}
                <p>{{j+1}}、{{v.reason}}</p>
                {{/each}}
            </td>
            <td><a class="btn btn-primary btn-lg layBtn" onclick='losepointDetail({{i}})' data-toggle="modal" data-target="#myLosepointModal">详情</a></td>
        </tr>
        {{/each}} 
    
</script>

<!--质控检查扣分表-->
<script id="monthdeduct" type="text/html">
    <tr>
        <th colspan="10" style="text-align: center">
            {{date}} 质控检查扣分表
        </th>
    </tr>
    <tr>
        <td>序号</td>
        <td>站点编号</td>
        <td>站点名称</td>
        <td>城市</td>
        <td>运行单位</td>
        <td>时间</td>
        <td>扣分</td>
        <td>检查时间</td>
        <td>检查人</td>
        <td>操作</td>
    </tr>
   {{each list as value i}}
   <tr>
        <td>{{i+1}}</td>
        <td>{{value.stationCode==undefined?'-':value.stationCode}}</td>
        <td>{{value.stationName==undefined?'-':value.stationName}}</td>
        <td>{{value.Area==undefined?'-':value.Area}}</td>
        <td>{{value.runName==undefined?'-':value.runName}}</td>
        <td>{{date==undefined?value.checkTime.substring(0,7):date}}</td>
        <td>{{value.deduct==undefined?'-':value.deduct}}</td>
        <td>{{value.checkTime==undefined?'-':value.checkTime.substring(0,10)}}</td>
        <td>{{value.checkPerson==undefined?'-':value.checkPerson}}</td>
        
        <td>
            <a href="#myModal" data-toggle="modal"  title="{{value.stationName}}-详情">详情<span style="display: none">{{value.detailId}}</span></a>
            <a href="#myModal" data-toggle="modal"  title="{{value.stationName}}-修改">修改<span style="display: none">{{value.detailId}}</span></a>
            <a href="javascript:;" onclick="deletescoreTable('{{value.detailId}}')">删除</a>
        </td>
    </tr>
    {{/each}}
   <tr>
        <td colspan="10" style="text-align:center">
            <a href="#myModal"  data-toggle="modal">新增</a>
        </td>
    </tr>
</script>

<!--运行单位运行质量评估表-->
<script id="monthunitworking" type="text/html">
    <tr>
        <th colspan="10" style="text-align: center">
            {{title}}月运行单位运行质量评估表
        </th>
    </tr>
    <tr>
        <td>站点编号</td>
        <td>站点名称</td>
        <td>数据传输率≥85%</td>
        <td>有效累计天数>27天</td>
        <td>评价总分≥80分</td>
        <td>站点运行质量结果系数</td>
    </tr>
   {{each list.StationRunning as value i}}
   <tr>
        <td>{{value.stationCode==undefined?'-':value.stationCode}}</td>
        <td>{{value.stationName==undefined?'-':value.stationName}}</td>
        <td>{{value.transferStatus>=0.85?'是':'否'}}</td>
        <td>{{value.validateStatus>27?'是':'否'}}</td>
        <td>{{value.scoresStatus>=80?'是':'否'}}</td>
        <td>{{value.coefficient==undefined?'-':value.coefficient}}</td>
    </tr>
    {{/each}}
    <tr><td colspan=6>运行单位运行质量评估</td></tr>
    <tr>
      <td>序号</td>
      <td colspan=2>评估因素</td>
      <td>存在/不存在</td>
      <td colspan=2>运行单位运行质量系数</td>
    </tr>
    <tr>
      <td>1</td>
      <td colspan=2>当月20%站点（3个农村站）未达到数据有效性要求</td>
      <td>{{list.status1?'存在':'不存在'}}</td>
      <td colspan=2>{{list.status1?'0.5':''}}</td>
    </tr>
    <tr>
      <td>2</td>
      <td colspan=2>连续两月20%站点（3个农村站）未达到数据有效性要求</td>
      <td>{{list.status2?'存在':'不存在'}}</td>
      <td colspan=2>{{list.status2?'终止合同':''}}</td>
    </tr>
    <tr>
      <td>3</td>
      <td colspan=2>当月40%站点（7个农村站）未达到数据有效性要求</td>
      <td>{{list.status3?'存在':'不存在'}}</td>
      <td colspan=2>{{list.status3?'终止合同':''}}</td>
    </tr>
    <tr>
      <td>4</td>
      <td colspan=2>同一站点连续两个月未达到数据有效性要求</td>
      <td>{{list.status4?'存在':'不存在'}}</td>
      <td colspan=2>{{list.status4?'0.75':''}}</td>
    </tr>
    <tr>
      <td>5</td>
      <td colspan=2>同一站点连续三个月未达到数据有效性要求</td>
      <td>{{list.status5?'存在':'不存在'}}</td>
      <td colspan=2>{{list.status5?'0.5':''}}</td>
    </tr>
    <tr>
      <td>6</td>
      <td colspan=2>同一站点连续四个月未达到数据有效性要求</td>
      <td>{{list.status6?'存在':'不存在'}}</td>
      <td colspan=2>{{list.status6?'终止合同':''}}</td>
    </tr>
    <tr>
      <td rowspan="10000">运行质量评估结果</td>
    </tr>
   {{each list.StationRunning as value i}}
   <tr>
       {{if list.runQuality ==0}}
       <td colspan=5>合同终止</td>
       {{else if list.runQuality==undefined}}
       <td colspan=5>暂无数据</td>
       {{else}}
       <td colspan="5">{{value.stationName==undefined?'':value.stationName+'站点'}}{{value.checkMonth==undefined?'':(value.checkMonth).substring(0,7)+'收入'}}{{(value.coefficient==undefined?'':list.runQuality*value.coefficient*13300)+'元'}}</td>
       {{/if}}
   </tr>
   {{/each}}
</script>

<!--运行单位日常工作月评价表-->
<script id="monthRunUnitQC" type="text/html">
    <tr>
        <th colspan="10" style="text-align: center">
            {{title}}月运行单位日常工作评价表
        </th>
    </tr>
    <tr>
        <td>序号</td>
        <td>评价周期</td>
        <td>上传执行时间</td>
        <td>本次执行时间</td>
        <td>工作内容</td>
        <td>完成情况</td>
        <td>填报周期</td>
        <td>绩效扣分</td>
        <td>扣分原因</td>
    </tr>
   {{each list as value i}}
    <tr>
      <td colspan=9>{{value.stationName==undefined?'-':value.stationName}}</td>
      </tr>
      {{each value.stationComplateList as value j}}
      
   <tr>
        <td>{{j+1}}</td>
        <td>
          {{if value.type==1}}
          每周工作评价
          {{else if value.type==2}}
          每月工作评价
          {{else if value.type==3}}
          半年工作评价
          {{else}}
          年工作评价
          {{/if}}
        </td>
       
        <td>{{value.lastTime=='1900-01-01'||undefined?'-':value.lastTime}}</td>
        <td>{{value.thisTime=='1900-01-01'||undefined?'-':value.thisTime}}</td>
        <td>
          {{if value.type==1}}
          每周工作完成，周报上报
          {{else if value.type==2}}
          每月工作完成，月报上报
          {{else if value.type==3 && value.thisTime!='1900-01-01'}}
          半年工作完成，半年报上报
          {{else if value.type==3 && value.thisTime=='1900-01-01'}}
          本月无半年报
          {{else if value.type==4 && value.thisTime!='1900-01-01'}}
          每年工作完成，年报上报
          {{else if value.type==4 && value.thisTime=='1900-01-01'}}
          本月无年报
          {{/if}}
        </td>
        <td>
          {{if value.type==1}}
          已在周日前完成周报
          {{else if value.type==2}}
          已在月末完成月报
          {{else if value.type==3 && value.thisTime!='1900-01-01'}}
          已在6月31日前完成半年报
          {{else if value.type==4 && value.thisTime!='1900-01-01'}}
          已在12月31日前完成年报
          {{else if value.type==3 && value.thisTime=='1900-01-01'}}
          暂无半年报信息
          {{else if value.type==4 && value.thisTime=='1900-01-01'}}
          暂无年报信息
          {{/if}}
        </td>
        <td>{{value.inputCycle==undefined?'-':value.inputCycle}}</td>
        <td>{{value.performance<=0?'0':value.performance}}</td>
        <td>{{value.mark==undefined?'-':value.mark}}</td>
    </tr>
     {{/each}}
    <tr>
      <td colspan=4>合计得分</td>
      <td colspan=5>{{value.deduct==undefined?'-':value.deduct}}</td>
      </tr>
    {{/each}}

</script>

<!--1考核结果-->
<script id="calscorce" type="text/html">
    <tr>
        <th colspan="8" style="text-align: center">
           四川省环境空气自动检测考核结果
        </th>
    </tr>
    <tr>
        <td>城市/运行单位</td>
        <td>时间</td>
        <td>平均数据传输得分</td>
        <td>平均有效天数得分</td>
        <td>日常工作评估平均等分</td>
        <td>飞行检查扣分</td>
        <td>总分</td>
        <td>操作</td>
    </tr>
   {{each list as value i}}
   <tr>
        <td>{{value.runName==undefined?value.Area:value.runName}}</td>
        <td>{{value.monthTime==undefined?'-':value.monthTime.substring(0,7)}}</td>
        <td>{{value.avgtansferScore==undefined?'-':value.avgtansferScore.toFixed(2)}}</td>
        <td>{{value.avgvalidateDaysScore==undefined?'-':value.avgvalidateDaysScore.toFixed(2)}}</td>
        <td>{{value.avgcompleteScore==undefined?'-':value.avgcompleteScore.toFixed(2)}}</td>
        <td>{{value.avgqcDeductScore==undefined?'-':value.avgqcDeductScore.toFixed(2)}}</td>
        <td>{{value.avgtotalScore==undefined?'-':value.avgtotalScore.toFixed(2)}}</td>
        <td>
        	<a class="btn btn-primary btn-lg layBtn" onclick='testcalscorce({{i}})' data-toggle="modal" data-target="#myModalcalscorce">详情</a>
        </td>
    </tr>
    {{/each}}

</script>

<!--1考核结果模态框-->
<script id="testcalscorce" type="text/html">
    <tr>
        <th colspan="11" style="text-align: center">
            	四川省环境环境空气自动检测有效天数得分情况评价表
        </th>
    </tr>
    <tr>
        <td>序号</td>
        <td>站点编号</td>
        <td>站点名称</td>
        <td>城市</td>
        <td>运行单位</td>
        <td>时间</td>
        <td>数据传输得分</td>
        <td>有效天数得分</td>
        <td>日常工作评估得分</td>
        <td>飞行检查扣分</td>
        <td>总分</td>
    </tr>
   {{each list as value i}}
   <tr>
        <td>{{i+1}}</td>
        <td>{{value.StationCode==undefined?'-':value.StationCode}}</td>
        <td>{{value.StationName==undefined?'-':value.StationName}}</td>
        <td>{{value.Area==undefined?'-':value.Area}}</td>
        <td>{{value.runName==undefined?'-':value.runName}}</td>
        <td>{{value.monthTime==undefined?'-':value.monthTime.substring(0,7)}}</td>
        <td>{{value.TansferScore==undefined?'-':value.TansferScore.toFixed(2)}}</td>
        <td>{{value.ValidateDaysScore==undefined?'-':value.ValidateDaysScore.toFixed(2)}}</td>
        <td>{{value.CompleteScore==undefined?'-':value.CompleteScore.toFixed(2)}}</td>
        <td>{{value.QcDeductScore==undefined?'-':value.QcDeductScore.toFixed(2)}}</td>
        <td>{{value.TotalScore==undefined?'-':value.TotalScore.toFixed(2)}}</td>

    </tr>
    {{/each}}

</script>

<!--1运行单位质量评价表-->
<script id="runquality" type="text/html">
    <tr>
        <th colspan="8" style="text-align: center">
           运行单位运行质量评估表
        </th>
    </tr>
    <tr>
        <td>城市/运行单位</td>
        <td>时间</td>
        <td>平均运行质量系数</td>
        <td>运行费用合计</td>
        <td>操作</td>
    </tr>
   {{each list as value i}}
   <tr>
        <td>{{value.runName==undefined?value.Area:value.runName}}</td>
        <td>{{value.monthTime==undefined?'-':value.monthTime.substring(0,7)}}</td>
        <td>{{value.avgRunUnitQuality==undefined?'-':value.avgRunUnitQuality}}</td>
        <td>{{value.totalCost==undefined?'-':value.totalCost}}</td>
        <td>
        	<a class="btn btn-primary btn-lg layBtn" onclick='runquality({{i}})' data-toggle="modal" data-target="#myModalrun">详情</a>
        </td>
    </tr>
    {{/each}}

</script>

<!--1运行单位质量评估表模态框-->
<script id="runtable" type="text/html">
    <tr>
        <th colspan="13" style="text-align: center">
            	运行单位运行质量评估表
        </th>
    </tr>
    <tr>
        <td>序号</td>
        <td>站点编号</td>
        <td>站点名称</td>
        <td>城市</td>
        <td>运行单位</td>
        <td>时间</td>
        <td>数据传输率≥85%</td>
        <td>有效累计天数≥27</td>
        <td>评价总分数≥80</td>
        <td>站点运行质量系数</td>
        <td>运行单位运行质量系数</td>
        <td>运行质量系数</td>
        <td>运行费用</td>
    </tr>
   {{each list as value i}}
   <tr>
        <td>{{i+1}}</td>
        <td>{{value.stationCode==undefined?'-':value.stationCode}}</td>
        <td>{{value.stationName==undefined?'-':value.stationName}}</td>
        <td>{{value.Area==undefined?'-':value.Area}}</td>
        <td>{{value.runName==undefined?'-':value.runName}}</td>
        <td>{{value.checkMonth==undefined?'-':value.checkMonth.substring(0,7)}}</td>
        <td>{{value.scoresStatus>="85"?'是':'否'}}</td>
        <td>{{value.validateStatus>="27"?'是':'否'}}</td>
        <td>{{value.scoresStatus>="80"?'是':'否'}}</td>
        <td>{{value.coefficient==undefined?'-':value.coefficient}}</td>
        <td>{{value.runUnitQuality==undefined?'-':value.runUnitQuality}}</td>
				<td>{{value.calrunUnitQuality==undefined?'-':value.calrunUnitQuality}}</td>
				<td>{{value.stationCost==undefined?'-':value.stationCost}}</td>
    </tr>
    {{/each}}

</script>

<!--1运行单位质量体系-->
<script id="runqualitytixi" type="text/html">
    <tr>
        <th colspan="8" style="text-align: center">
           运行单位运行质量评估
        </th>
    </tr>
    <tr>
        <td>序号</td>
        <td>运行单位</td>
        <td>时间</td>
        <td>评估因素</td>
        <td>合格/不合格</td>
        <td>运行单位运行质量体系</td>
        <td>操作</td>
    </tr>
   {{each list as value i}}
   <tr>
        <td>1</td>
        <td rowspan="6">{{value.runName}}</td>
        <td rowspan="6">{{value.monthTime.substring(0,7)}}</td>
        <td>当月20%站点未达到数据有效性要求</td>
        <td>{{value.StationRunning.status1=="0"?'合格':'不合格'}}</td>
        <td>{{value.StationRunning.status1=="0"?'':'0.5'}}</td>
        <td rowspan="6">
        	<a class="btn btn-primary btn-lg layBtn" onclick='qualityunit({{i}})' data-toggle="modal" data-target="#myModalunit">详情</a>
        </td>
    </tr>
    <tr>
        <td>2</td>
        <td>连续两个月20%站点未达到数据有效性要求</td>
        <td>{{value.StationRunning.status2=="0"?'合格':'不合格'}}</td>
        <td>{{value.StationRunning.status2=="0"?'':'终止合同'}}</td>
    </tr>
    <tr>
        <td>3</td>
        <td>当月40%站点未达到数据有效性要求</td>
        <td>{{value.StationRunning.status3=="0"?'合格':'不合格'}}</td>
        <td>{{value.StationRunning.status3=="0"?'':'终止合同'}}</td>
    </tr>
    <tr>
        <td>4</td>
        <td>同一站点连续两个月未达到数据有效性要求</td>
        <td>{{value.StationRunning.status4=="0"?'合格':'不合格'}}</td>
        <td>{{value.StationRunning.status4=="0"?'':'0.75'}}</td>
    </tr>
    <tr>
        <td>5</td>
        <td>同一站点连续三个月未达到数据有效性要求</td>
        <td>{{value.StationRunning.status5=="0"?'合格':'不合格'}}</td>
        <td>{{value.StationRunning.status5=="0"?'':'0.5'}}</td>
    </tr>
    <tr>
        <td>6</td>
        <td>同一站点连续四个月未达到数据有效性要求</td>
        <td>{{value.StationRunning.status6=="0"?'合格':'不合格'}}</td>
        <td>{{value.StationRunning.status6=="0"?'':'终止合同'}}</td>
    </tr>
    <tr>
        <td colspan="4">运行单位质量系数</td>
        <td colspan="3">{{value.StationRunning.runQuality}}</td>
        
    </tr>
    {{/each}}

</script>

<!--1运行单位质量体系模态框-->
<script id="unitquality" type="text/html">
    <tr>
        <th colspan="13" style="text-align: center">
            	运行单位运行质量评估表
        </th>
    </tr>
    <tr>
        <td>序号</td>
        <td>站点编号</td>
        <td>站点名称</td>
        <td>城市</td>
        <td>运行单位</td>
        <td>时间</td>
        <td>是否达到数据有效性</td>
        <td>连续数据有效性未达标次数</td>
    </tr>
   {{each list as value i}}
   <tr>
        <td>{{i+1}}</td>
        <td>{{value.StationCode==undefined?'-':value.StationCode}}</td>
        <td>{{value.stationName==undefined?'-':value.stationName}}</td>
        <td>{{value.Area==undefined?'-':value.Area}}</td>
        <td>{{value.runName==undefined?'-':value.runName}}</td>
        <td>{{value.checkMonth==undefined?'-':value.checkMonth.substring(0,7)}}</td>
        <td>{{value.coefficient=="1"?'是':'否'}}</td>
        <td>{{value.invalidTime==undefined?'-':value.invalidTime}}</td>
    </tr>
    {{/each}}

</script>

<!--========================================================================-->

<!--获取所有的站点信息-->
<script id="decreasestationCodemodal" type="text/html">
    <option value="">请选择站点</option>
    {{each list as value i}}
           <option value={{value.StationCode}}>{{value.PositionName}}</option>
    {{/each}}
</script>

<!--获取检查人信息-->
<script id="checkpersonmodal" type="text/html">
    {{each list as value i}}
    <option value={{value.checkPerson}}>{{value.checkPerson}}</option>
    {{/each}}
</script>


<!--站点区域-->
<script  id="getcityinfo" type="text/html">
    <option value="">请选择站点区域</option>
     {{each list as value i}}
    <option value={{value.CityId}} class="{{i}}">{{value.Area}}</option>
    {{/each}}
</script>




<!--获取所有的站点信息-->
<script id="stationchosecode" type="text/html">
    <option value="">请选择站点</option>
    {{each list as value i}}
             <option value={{value.StationCode}} class="{{i}}">{{value.stationName}}</option>
    {{/each}}
</script>


<!--================================================-->
<!--运行单位-->
<script id="getrununitinfo" type="text/html">
    <!--<input type="checkbox" name="" id="testAll" value="" />全选-->
    {{each list as value i}}
      <input id='' class='test' type="checkbox" name="unit" value="{{value.runCode}}">{{value.runName}}
    {{/each}}
</script>

<!--站点类型-->
<script  id="getstationtypeinfo" type="text/html">
    {{each list as value i}}
    	<input id='' class='test' type="checkbox" name="stationtype" value="{{value.StationTypeId}}">{{value.StationTypeName}}
    {{/each}}
</script>

<!--城市列表-->
<script id="chooseCity" type="text/html">
		{{each list as value i}}
					<li style="text-align: left;" class="cityName">
							<input id='' class='citylist' type="checkbox" name="citylist" value="{{value.CityId}}">
							<span this.value="{{value.CityId}}">	
									{{value.Area}}
							</span> 
							<ul style="display:none;font-size: 16px;">
									{{each value.stationMsg as value j}}
										<li>
											<input id='' class='regionlist' type="checkbox" name="regionlist" value="{{value.StationCode}}">
											<span this.value="{{value.StationTypeId}}">
												{{value.stationName}}
											</span>
										</li>
									{{/each}}
							</ul>
					</li>
		{{/each}}
</script>



<!--      ========================================= 表格模板end ========================================== -->

</div>
<script src="assets/echart/echarts.common.min.js"></script>
<script src="assets/jq/jquery.lavalamp.min.js"></script>
<script src="assets/jq/jedate.min.js"></script>
<script src="assets/jq/template.js"></script>
<script src="assets/jq/jquery.combo.select.js"></script>
<script src="assets/js/data.js"></script>
<script src="assets/js/request.js"></script>
<script src="assets/js/common.js"></script>
<script src="assets/js/index.js"></script>
<script src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
 jeDate({
		dateCell:"#dateinfo",
		format:"YYYY-MM-DD hh:mm:ss",
		isinitVal:true,
		isTime:true, //isClear:false,
		minDate:"2014-09-19 00:00:00"
		//okfun:function(val){alert(val)}
 });
//		$("#testAll").on("change",function(){
//      if($(this).is(':checked')){
//        $(".test").prop('checked', true);
//        console.log("1111")
//      }else{
//      	console.log("22222")
//        $(".test").removeAttr("checked");
//      }
//    })
		
</script>
</body>
</html>
